package com.umpay.dto.merAccess.req.quickpayment;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @ClassName: QuickPaymentOrder  
 * @Description: 标准快捷支付下单请求接入类
 * @author zhangtao  
 * @date May 12, 2018
 */
public class QuickPaymentOrderReq extends CommonReq{
	
	/**
	 * 服务器异步通知路径
	 */
	@Pattern(message = "服务器异步通知路径格式不正确")
	private String notify_url;
	
	/**
	 * 商户流水号
	 */
	@NotEmpty(message = "商户流水号不能为空")
	@Pattern(message = "商户流水号格式不正确")
	private String mer_trace;
	
	/**
	 * 联动订单号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String trade_no;
	
	/**
	 * 支付金额
	 */
	@NotEmpty(message = "支付金额不能为空")
	@Pattern(message = "支付金额格式不正确")
	private String amount;
	
	/**
	 * 商户会员编号
	 */
	@NotEmpty(message = "商户会员编号不能为空")
	@Pattern(message = "商户会员编号格式不正确")
	private String mer_cust_id;
	
	/**
	 * 卡类型
	 */
	@Pattern(message = "卡类型格式不正确")
	private String card_type;
	
	/**
	 * 支付银行
	 */
	@Pattern(message = "支付银行编号格式不正确")
	private String gate_id;
	
	/**
	 * 卡号
	 */
	@Pattern(message = "卡号格式不正确")
	private String card_id;
	
	/**
	 * 支付协议号
	 */
	@Pattern(message = "支付协议号格式不正确")
	private String p_agreement_id;
	
	/**
	 * 备注信息
	 */
	@Pattern(message = "备注信息格式不正确")
	private String remark;

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}

	public String getMer_trace() {
		return mer_trace;
	}

	public void setMer_trace(String mer_trace) {
		this.mer_trace = mer_trace;
	}

	public String getTrade_no() {
		return trade_no;
	}

	public void setTrade_no(String trade_no) {
		this.trade_no = trade_no;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getMer_cust_id() {
		return mer_cust_id;
	}

	public void setMer_cust_id(String mer_cust_id) {
		this.mer_cust_id = mer_cust_id;
	}

	public String getCard_type() {
		return card_type;
	}

	public void setCard_type(String card_type) {
		this.card_type = card_type;
	}

	public String getGate_id() {
		return gate_id;
	}

	public void setGate_id(String gate_id) {
		this.gate_id = gate_id;
	}

	public String getCard_id() {
		return card_id;
	}

	public void setCard_id(String card_id) {
		this.card_id = card_id;
	}

	public String getP_agreement_id() {
		return p_agreement_id;
	}

	public void setP_agreement_id(String p_agreement_id) {
		this.p_agreement_id = p_agreement_id;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "QuickPaymentOrderReq [notify_url=" + notify_url + ", mer_trace=" + mer_trace + ", trade_no=" + trade_no
				+ ", amount=" + amount + ", mer_cust_id=" + mer_cust_id + ", card_type=" + card_type + ", gate_id="
				+ gate_id + ", card_id=" + card_id + ", p_agreement_id=" + p_agreement_id + ", remark=" + remark
				+ ", mer_id=" + mer_id + ", version=" + version + "]";
	}
	
}
